package com.han.builder.demo1;

/**
 * @ClassName Builder
 * @Description 抽象建造者
 * @Author duoduo Han
 * @Date 2024/6/5 18:37
 */
public abstract class Builder {
    //声明Bike类型的变量，并进行赋值
    protected Bike bike = new Bike();

    public abstract void buildFrame();

    public abstract void buildSeat();

    public abstract void buildWheel();

    //构建自行车的方法
    public abstract Bike createBike();
}
